package GameLoop;

import java.awt.Graphics2D;

import com.golden.gamedev.object.PlayField;

import vooga.core.event.EventManager;
import vooga.core.event.IEventHandler;

public abstract class AbstractScene {
	protected EventManager em;
	public UpdateableAndRenderable uAndr;
	protected AbstractScene nextScene;
	protected Object gameResources;
	
	public AbstractScene(EventManager em){
		this.em=em;
	}
	
		
	public void update(long elapsedTime) {
		uAndr.update(elapsedTime);
	}
	
	public void render(Graphics2D g) {
		uAndr.render(g);	
	}
}
